import axios from '@/request/http'

interface IUserLogin {
    username: string,
    password: string
}

// 用户登录
function userLogin(params: IUserLogin) {
   return axios.post('/api/login', params)
}

export {
    userLogin
}